Imports System
Imports System.Configuration

Public Class QuestionnaireTakerSection
    Inherits ConfigurationSection

    <ConfigurationProperty("providers")> _
    Public ReadOnly Property Providers() As ProviderSettingsCollection
        Get
            Return CType(Me("providers"), ProviderSettingsCollection)
        End Get
    End Property


    <StringValidator(MinLength:=1)> _
    <ConfigurationProperty("defaultProvider", _
    DefaultValue:="SqlQuestionnaireTakerProvider")> _
    Public Property DefaultProvider() As String
        Get
            Return CType(Me("defaultProvider"), String)
        End Get
        Set(ByVal value As String)
            Me("defaultProvider") = value
        End Set
    End Property

End Class
